package com.feemanage.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feemanage.domain.BizCwIncomeClaim;
import com.feemanage.domain.bo.BizProjectBudgetFeeBo;
import com.feemanage.domain.vo.BizCwIncomeClaimVo;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface cWIncomeClaimMapper extends BaseMapper<BizCwIncomeClaim> {

    IPage<BizCwIncomeClaimVo> selectClaimList(@Param("page") Page<BizCwIncomeClaim> page, @Param(Constants.WRAPPER) Wrapper<BizCwIncomeClaim> wrapper);

    List<BizCwIncomeClaimVo> selectClaimList(@Param(Constants.WRAPPER) Wrapper<BizCwIncomeClaim> wrapper);

    List<String> selectIncomdIds(@Param(Constants.WRAPPER) Wrapper<BizCwIncomeClaim> wrapper);

    Long selectbudgetCount(@Param("ew") Wrapper<BizProjectBudgetFeeBo> queryWrapper);

    List<HashMap<String, Integer>> selectListTotal(@Param(Constants.WRAPPER) QueryWrapper<BizCwIncomeClaim> wrapper);

}
